import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { AppConfigService } from '@/common/config.service';
import { getEnvConfig } from '@/common/env.config';

@Module({
    imports: [ConfigModule.forRoot(getEnvConfig())],
    providers: [AppConfigService],
    exports: [AppConfigService],
})
export class AppConfigModule {}
